#include <stdio.h>
#include <string.h>

void swap(int *pa, int *pb) {
    int temp = *pa;
    *pa = *pb;
    *pb = temp;

}


int main() {
    int a = 0;
    int b = 0;
    printf("请输入a与b的值：\n");
    scanf("%d %d",&a,&b);
    swap(&a,&b);
    printf("%d %d\n",a,b);
    return 0;
}
